# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=terminator
pkgver=1.92
pkgrel=0
pkgdesc="Terminal emulator that supports tabs and grids"
url="https://github.com/gnome-terminator/terminator"
arch="noarch"
license="GPL-2.0"
depends="
	python3
	xdg-utils
	vte3
	dbus-glib
	gettext
	intltool
	keybinder3
	gsettings-desktop-schemas
	py3-gobject3
	py3-cairo
	py3-dbus
	py3-psutil
	py3-configobj
	"
makedepends="python3-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/gnome-terminator/terminator/releases/download/v$pkgver/terminator-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
	rm -f "$pkgdir/usr/share/icons/hicolor/icon-theme.cache"
}

sha512sums="9a63d1993582d94711b7be6cad0ecde3969b3a5d297ab388677b485161fae308a93d559f84bc4cb7ff71c8755cac6c2511b3677a8ab1da3da6427c53c68529f1  terminator-1.92.tar.gz"
